package com.quwan;

import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author lt
 * @Date 2021/12/10 3:04 下午
 */
@RestController
@RequestMapping("/init")
public class QuWanInitController {

    @GetMapping("/health-check")
    @ApiOperation(value = "健康检查")
    public String index() {
        return "success";
    }

    @GetMapping("/heartbeat")
    @ApiOperation(value = "心跳检查")
    public String heartbeat() {
        return "OK";
    }
}
